<% include ./header.ejs %>
            <section class="grid-wrap" >
                <header class="grid col-full">
                    <hr>
                    <p class="fleft">首页</p>
                    <a href="/index/doctors" class="arrow fright">see more doctors</a>
                </header>
                
                <div class="grid col-one-half mq2-col-full">
                                    
                <h1 style="font-weight:normal;font-size:4.1em;color:#555555;">
                    网站是企业形象 <br>
                    <sub>没有理由不用心打造</sub>
                    </h1>
                    <p style="color:#555555;font-size:13px;">
                        我们把始终把为企业制作网站定位为艺术设计。我们会用代码实现、时刻维护运行的服务器资源，但主角依然是用户的品牌和设计师。<br>
                    </p>
                    <p style="color:#555555;font-size:13px;">
                        We always put the site for the production of Web sites for the art design. We will use the code to achieve, always maintain the running of the server resources, but the protagonist is still the user's brand and designer.
                    </p>
                </div>
                
                <div class="slider grid col-one-half mq2-col-full">
                    <div class="flexslider">
                        <div class="slides">
                            <%products.forEach(function(one,key){%>
                            <div class="slide">
                                <figure>
                                    <img src="<%=one.thumb%>" alt="">
                                    <figcaption>
                                    <div>
                                        <h5><%=one.title%></h5>
                                        <p style="text-align:left"><%-one.description%>, <a href="<%=one.url||'/index/doctors/'+one.id%>">查看</a></p>
                                    </div>
                                    </figcaption>
                                </figure>
                            </div>
                            <%})%>
                        </div>
                    </div>
                </div>
                
            </section>
            <section class="services grid-wrap">
                <header class="grid col-full">
                    <hr>
                    <p class="fleft">我们的健康宣讲</p>
                    <a href="/index/speak" class="arrow fright">see more speak</a>
                </header>

                <%speak_articles.forEach(function(speak_article,index){%>
                    <article class="grid col-one-third mq3-col-full">
                    <aside>0<%-index+1%></aside>
                    <h5><a href="/index/speak/<%=speak_article.id%>"><%=speak_article.title%></a></h5>
                    <p><%=speak_article.description%></p>
                    </article>
                <%})%>
            </section>
        <section class="works grid-wrap">
            <header class="grid col-full">
                <hr>
                <p class="fleft">我们的新闻动态</p>
                <a href="/index/news" class="arrow fright">see more news</a>
            </header>
        
            <%news.forEach(function(one,key){%>
            <figure class="grid col-one-quarter mq2-col-one-half">
                <a href="/index/news/<%=one.id%>">
                    <img src="<%-one.thumb%>" alt="">
                    <span class="zoom"></span>
                </a>
                <figcaption>
                <a href="/index/news/<%=one.id%>" class="arrow"><%=one.title%></a>
                <p><%-one.description%></p>
                </figcaption>
            </figure>
            <%})%>
        </section>
<% include ./footer.ejs %>

